package edu.pku.sei.act.model.mote;

import edu.pku.sei.act.model.common.ArchiModelConst;
import edu.pku.sei.act.mote.myenum.YNEnum;
import edu.pku.sei.gmp.properties.annotation.GMPAnnotation;
import edu.pku.sei.gmp.properties.annotation.GMPEnumAnnotation;

public class Radio extends OuterModelElement {

	@GMPAnnotation(
			id = "ruleEngine.mote.needRadio",
			name = ArchiModelConst.__RADIO__,
			category = "Model",
			getter = "getRadio",
			setter = "setRadio",
			visible = true,
			serialize = true
			)
	@GMPEnumAnnotation()
				private YNEnum radio = YNEnum.Yes;
		//private String radio = "Yes";
	
	/*public String getRadio(){
		return radio;
	}
	public void setRadio(){
		radio = "Yes";
	}*/
	public YNEnum getRadio(){
		return radio;
	}
	public void setRadio(YNEnum radio){
		this.radio = radio;
	}

}